﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AutoMapperTest.DTO
{
    public class InspItemRecordDTO
    {
        /// <summary>
        /// 1检测项名称
        /// </summary>
        public string ItemName { get; set; }

        /// <summary>
        /// 2检测项结果
        /// </summary>
        public bool ItemResult { get; set; }
        /// <summary>
        /// 3检测项信息
        /// </summary>
        public string ItemMsg { get; set; }
        /// <summary>
        /// 4亮度均值
        /// </summary>
        public byte Brightness { get; set; }
        /// <summary>
        /// 5曝光时间
        /// </summary>
        public double ExproseTime { get; set; }
        /// <summary>
        /// 6项索引
        /// </summary>
        public int ItemIndex { get; set; }
        /// <summary>
        /// 检测图片
        /// </summary>
        public Bitmap InspedImg { get; set; }

        /// <summary>
        /// 缺陷行
        /// </summary>
        public List<int> ErrRow { get; set; }

        /// <summary>
        /// 缺陷列
        /// </summary>
        public List<int> ErrCol { get; set; }

        /// <summary>
        /// 缺陷NG类型
        /// </summary>
        public List<int> ErrType { get; set; }

        /// <summary>
        /// 缺陷NG面积
        /// </summary>
        public List<int> ErrValue { get; set; }

        /// <summary>
        /// 缺陷NG变异度
        /// </summary>
        public List<int> ErrDiff { get; set; }

    }
}
